PowerTCP SSH and SFTP for .NET
.NET Framework Runtime Licensing



First, ensure a license is activated (see License Activation).

For projects targeting .NET Framework 4.5-4.8.1 (using the .NET 4.5 Framework assembly), users can choose between the newer .NET Standard Licensing technique (see .NET Standard Runtime Licensing) or the legacy .licx technique described here.

A licenses.licx file is required in the top level executing assembly’s project, containing an entry for each licensed class (only one is necessary for each Dart assembly). When a licensed component is added to a project using the Visual Studio designer, a licenses.licx file is automatically generated if one does not already exist, and an entry for the class is added.

When developing an assembly with no design surface such as a console application, or when instantiating a licensed class in code, the licenses.licx file must be added manually. If a licenses.licx file is not present in the project, add a new text file named "licenses.licx" to the top level project (not the solution) from the Solution Explorer. Add a single line to the licenses.licx that includes the fully-specified class name and the assembly name, separated by a comma. If using multiple Dart product assemblies, each entry should appear on its own line. For example:

Dart.Ssh.Manager, Dart.Ssh
or
Dart.Ssh.Agent, Dart.Ssh

The license compiler, lc.exe, will then create a licenses resource and embed it into the compiled application where it is validated at runtime.

Web Site projects include an App_Licenses.dll that must be rebuilt when changes are made to the licenses.licx file or when migrating from trial to licensed operation. The App_Licenses.dll can be rebuilt by right-clicking on the licenses.licx file in the Solution Explorer and selecting the "Rebuild Runtime Licenses" option.

If a library using a Dart component is developed for use in another top level, executing assembly project, then that top level project must include the licenses.licx file. If embedding a license resource in the consuming application is not possible then an Extended Distribution License Product Key is needed. Purchase may be required. Please contact sales@dart.com for more information.

 


PowerTCP SSH and SFTP for .NET Documentation Version 7.0
© 2023 Dart Communications. All Rights Reserved.
Send comments on this topic